package cn.dida.service;

import cn.dida.model.Pageable;
import cn.dida.model.Product;

import java.util.List;
import java.util.Map;

/**
 * Created by zhangzhiling on 2017/8/11.
 */
public interface DataStatisticsService {

    public List<Product>  getProList(Integer companyId);

    public List dataCountDayMonth(Integer companyId,String productId, Long timeStart, Long timeEnd ,Integer type );

    public List dataCountByHour(Integer companyId, String productId, Long timeStart, Long timeEnd);

    public List<Map<String,Object>> newOpenCountByDate(Integer companyId, String productId, Long timeStart, Long timeEnd, Integer type);

    public Pageable<Map<String,Object>> getStatsDateList(Integer companyId, String productId, Long timeLimitStart,
                                                        Long timeLimitEnd,Integer type,Integer page);

    public List<Map<String,Object>> getStatsDateListExport(Integer companyId, String productId, Long timeLimitStart,
                                                         Long timeLimitEnd,Integer type);

    public List<Map<String,Object>>  getAreaData(Integer companyId,String producId,Long scanStartTime);

    public Pageable<Map<String,Object>> getAreaDataDetail(Integer companyId,String producId, Integer page,Long scanStartTime);
    
    public List<Map<String,Object>> getxAxisTime();
    
    public List<Map<String,Object>> getAreaDataDetailExport(Integer companyId,String producId,Long scanStartTime);
    
    public Pageable<Map<String,Object>> getlistDataByHour(Integer companyId, String productId, Long timeLimitStart, Long timeLimitEnd,Integer page);
    
    public List<Map<String,Object>> getlistDataByHourExport(Integer companyId, String productId, Long timeLimitStart, Long timeLimitEnd);
    
}
